package com.example.demo.mapper;

import com.example.demo.domain.UserEntity;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserEntity record);

    int insertSelective(UserEntity record);

    UserEntity selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserEntity record);

    int updateByPrimaryKey(UserEntity record);

    /**
     * @Author chenhegang
     * @Description  自定义方法
     * @Date 2018/6/22 1:17
     */
    List<UserEntity> selectAllUser();
}